<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title></title>
    <script src="__PUBLIC__/jquery-3.3.1.min.js"></script>
</head>

<body>
</body>


<form action="./saleAuth" method="get">
    <input type="submit" value="点我" width="100%" height="100%">
</form>

<script>
    var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");

    var r = window.location.search.substr(1).match(reg);

    console.log(window.location.search);

</script>
</html>